//
// Source code recreated from ConfigVo .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ht.modules.system.online.cgreport.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

@TableName("onl_cgreport_head")
public class OnlCgreportHead implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
        type = IdType.ASSIGN_UUID
    )
    private String id;
    private String code;
    private String name;
    private String cgrSql;
    private String returnValField;
    private String returnTxtField;
    private String returnType;
    private String dbSource;
    private String content;
    @JsonFormat(
        timezone = "GMT+8",
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @DateTimeFormat(
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date updateTime;
    private String updateBy;
    @JsonFormat(
        timezone = "GMT+8",
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @DateTimeFormat(
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date createTime;
    private String createBy;

    public OnlCgreportHead() {
    }

    public String getId() {
        return this.id;
    }

    public String getCode() {
        return this.code;
    }

    public String getName() {
        return this.name;
    }

    public String getCgrSql() {
        return this.cgrSql;
    }

    public String getReturnValField() {
        return this.returnValField;
    }

    public String getReturnTxtField() {
        return this.returnTxtField;
    }

    public String getReturnType() {
        return this.returnType;
    }

    public String getDbSource() {
        return this.dbSource;
    }

    public String getContent() {
        return this.content;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public String getUpdateBy() {
        return this.updateBy;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public String getCreateBy() {
        return this.createBy;
    }

    public void setId(final String id) {
        this.id = id;
    }

    public void setCode(final String code) {
        this.code = code;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public void setCgrSql(final String cgrSql) {
        this.cgrSql = cgrSql;
    }

    public void setReturnValField(final String returnValField) {
        this.returnValField = returnValField;
    }

    public void setReturnTxtField(final String returnTxtField) {
        this.returnTxtField = returnTxtField;
    }

    public void setReturnType(final String returnType) {
        this.returnType = returnType;
    }

    public void setDbSource(final String dbSource) {
        this.dbSource = dbSource;
    }

    public void setContent(final String content) {
        this.content = content;
    }

    public void setUpdateTime(final Date updateTime) {
        this.updateTime = updateTime;
    }

    public void setUpdateBy(final String updateBy) {
        this.updateBy = updateBy;
    }

    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }

    public void setCreateBy(final String createBy) {
        this.createBy = createBy;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof OnlCgreportHead)) {
            return false;
        } else {
            OnlCgreportHead other = (OnlCgreportHead)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label167: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label167;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label167;
                    }

                    return false;
                }

                Object this$code = this.getCode();
                Object other$code = other.getCode();
                if (this$code == null) {
                    if (other$code != null) {
                        return false;
                    }
                } else if (!this$code.equals(other$code)) {
                    return false;
                }

                label153: {
                    Object this$name = this.getName();
                    Object other$name = other.getName();
                    if (this$name == null) {
                        if (other$name == null) {
                            break label153;
                        }
                    } else if (this$name.equals(other$name)) {
                        break label153;
                    }

                    return false;
                }

                Object this$cgrSql = this.getCgrSql();
                Object other$cgrSql = other.getCgrSql();
                if (this$cgrSql == null) {
                    if (other$cgrSql != null) {
                        return false;
                    }
                } else if (!this$cgrSql.equals(other$cgrSql)) {
                    return false;
                }

                label139: {
                    Object this$returnValField = this.getReturnValField();
                    Object other$returnValField = other.getReturnValField();
                    if (this$returnValField == null) {
                        if (other$returnValField == null) {
                            break label139;
                        }
                    } else if (this$returnValField.equals(other$returnValField)) {
                        break label139;
                    }

                    return false;
                }

                Object this$returnTxtField = this.getReturnTxtField();
                Object other$returnTxtField = other.getReturnTxtField();
                if (this$returnTxtField == null) {
                    if (other$returnTxtField != null) {
                        return false;
                    }
                } else if (!this$returnTxtField.equals(other$returnTxtField)) {
                    return false;
                }

                label125: {
                    Object this$returnType = this.getReturnType();
                    Object other$returnType = other.getReturnType();
                    if (this$returnType == null) {
                        if (other$returnType == null) {
                            break label125;
                        }
                    } else if (this$returnType.equals(other$returnType)) {
                        break label125;
                    }

                    return false;
                }

                label118: {
                    Object this$dbSource = this.getDbSource();
                    Object other$dbSource = other.getDbSource();
                    if (this$dbSource == null) {
                        if (other$dbSource == null) {
                            break label118;
                        }
                    } else if (this$dbSource.equals(other$dbSource)) {
                        break label118;
                    }

                    return false;
                }

                Object this$content = this.getContent();
                Object other$content = other.getContent();
                if (this$content == null) {
                    if (other$content != null) {
                        return false;
                    }
                } else if (!this$content.equals(other$content)) {
                    return false;
                }

                label104: {
                    Object this$updateTime = this.getUpdateTime();
                    Object other$updateTime = other.getUpdateTime();
                    if (this$updateTime == null) {
                        if (other$updateTime == null) {
                            break label104;
                        }
                    } else if (this$updateTime.equals(other$updateTime)) {
                        break label104;
                    }

                    return false;
                }

                label97: {
                    Object this$updateBy = this.getUpdateBy();
                    Object other$updateBy = other.getUpdateBy();
                    if (this$updateBy == null) {
                        if (other$updateBy == null) {
                            break label97;
                        }
                    } else if (this$updateBy.equals(other$updateBy)) {
                        break label97;
                    }

                    return false;
                }

                Object this$createTime = this.getCreateTime();
                Object other$createTime = other.getCreateTime();
                if (this$createTime == null) {
                    if (other$createTime != null) {
                        return false;
                    }
                } else if (!this$createTime.equals(other$createTime)) {
                    return false;
                }

                Object this$createBy = this.getCreateBy();
                Object other$createBy = other.getCreateBy();
                if (this$createBy == null) {
                    if (other$createBy != null) {
                        return false;
                    }
                } else if (!this$createBy.equals(other$createBy)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof OnlCgreportHead;
    }

//    public int hashCode() {
//        int PRIME = true;
//        int result = 1;
//        Object $id = this.getId();
//        int result = result * 59 + ($id == null ? 43 : $id.hashCode());
//        Object $code = this.getCode();
//        result = result * 59 + ($code == null ? 43 : $code.hashCode());
//        Object $name = this.getName();
//        result = result * 59 + ($name == null ? 43 : $name.hashCode());
//        Object $cgrSql = this.getCgrSql();
//        result = result * 59 + ($cgrSql == null ? 43 : $cgrSql.hashCode());
//        Object $returnValField = this.getReturnValField();
//        result = result * 59 + ($returnValField == null ? 43 : $returnValField.hashCode());
//        Object $returnTxtField = this.getReturnTxtField();
//        result = result * 59 + ($returnTxtField == null ? 43 : $returnTxtField.hashCode());
//        Object $returnType = this.getReturnType();
//        result = result * 59 + ($returnType == null ? 43 : $returnType.hashCode());
//        Object $dbSource = this.getDbSource();
//        result = result * 59 + ($dbSource == null ? 43 : $dbSource.hashCode());
//        Object $content = this.getContent();
//        result = result * 59 + ($content == null ? 43 : $content.hashCode());
//        Object $updateTime = this.getUpdateTime();
//        result = result * 59 + ($updateTime == null ? 43 : $updateTime.hashCode());
//        Object $updateBy = this.getUpdateBy();
//        result = result * 59 + ($updateBy == null ? 43 : $updateBy.hashCode());
//        Object $createTime = this.getCreateTime();
//        result = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
//        Object $createBy = this.getCreateBy();
//        result = result * 59 + ($createBy == null ? 43 : $createBy.hashCode());
//        return result;
//    }
//
//    public String toString() {
//        return "OnlCgreportHead(id=" + this.getId() + ", code=" + this.getCode() + ", name=" + this.getName() + ", cgrSql=" + this.getCgrSql() + ", returnValField=" + this.getReturnValField() + ", returnTxtField=" + this.getReturnTxtField() + ", returnType=" + this.getReturnType() + ", dbSource=" + this.getDbSource() + ", content=" + this.getContent() + ", updateTime=" + this.getUpdateTime() + ", updateBy=" + this.getUpdateBy() + ", createTime=" + this.getCreateTime() + ", createBy=" + this.getCreateBy() + ")";
//    }
}
